package com.teamb6.shop.service;

import com.teamb6.shop.domain.Activity;
import com.teamb6.shop.domain.ActivityExample;


import java.util.List;

public interface ActivityService {

    Activity findActivity(Integer id);
    int saveActivity(Activity activity);
    //List<Activity> listActivity();
    List<Activity> listActivity(String keyword);
    //单个删除
    int delectActivity(Integer id);
    //批量删除
    int multiDel(String id);
    //活动修改
    int editActivity(Activity activity);
    //获得所有的活动信息
    List<Activity> getAllActivity(ActivityExample activityExample);

    Activity selectByKey(Integer activityid);
}
